package com.ruoyi.coupon.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 优惠卷任务对象 coupon_task
 *
 * @author 林道敬
 * @date 2025-01-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("coupon_task")
public class CouponTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private long id;

    /** 优惠券记录id */
    @Excel(name = "优惠券记录id")
    private Long couponRecordId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String outTradeNo;

    /** 锁定状态 锁定LOCK-完成FINISH 取消CANCEL */
    @Excel(name = "锁定状态 锁定LOCK-完成FINISH 取消CANCEL")
    private String lockState;

}
